package com.beans;

import creator.ui.graphics.Magicanvas;
import creator.ui.graphics.bean.Bean;
import java.awt.Image;

public class ScoresListBean extends Bean {

  private Image slist;
  private int slistX;
  private int slistY;
  private int slistW;
  private int slistH;

  public void initBean(Magicanvas cvs) {
    this.slist = getImage("/res/img/SCORES_BOARD.png");
    trackerImage(this.slist, cvs);
    this.slistW = this.slist.getWidth(cvs);
    this.slistH = this.slist.getHeight(cvs);
    this.slistX = (172 - this.slistW / 2);
    this.slistY = (307 - this.slistH / 2);
  }

  public int getSlistY() {
    return this.slistY;
  }

  public void setSlistY(int slistY) {
    this.slistY = slistY;
  }

  public Image getSlist() {
    return this.slist;
  }

  public int getSlistX() {
    return this.slistX;
  }

  public int getSlistW() {
    return this.slistW;
  }

  public int getSlistH() {
    return this.slistH;
  }
}
